<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/page/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>添加招聘管理信息</title>
<link href="${ctx}/css/recuitment.css" rel="stylesheet" type="text/css" />
<jsp:include page="/page/common/common.jsp" />
<script type="text/javascript">
function setresume(){
	var filepath = $('input[name=resumefile]').val();
	var filename = filepath.substring(filepath.lastIndexOf('\\')+1);
	$('input[name=recruitmentInfo.resume]').val(filename);
}
</script>
</head>
<body>
<div class="s_main">
<div class="title">添加招聘管理信息</div>
<hr>
<div class="s_content">
<form action="${ctx }/rect/addRectInfo.do" method="post" enctype="multipart/form-data" >
<table>
	<tr>
		<td>应聘者姓名:</td>
		 <td><input type="text" name="recruitmentInfo.candidateName"
			id="candidateName" class="add_input" /></td>
		<td></td>
	</tr>
	<tr>
		<td>联系手机:</td>
		<td><input type="text" name="recruitmentInfo.candidateMobile"
			id="candidateMobile" class="add_input" /></td>
		<td></td>
	</tr>
	<tr>
		<td>职位名称:</td>
		<td><select name="recruitmentInfo.positionId.id" id="positionId">
			<s:iterator value="positionDTOList">
				<option value="<s:property value="id"/>"><s:property value="positionName"/></option>
			</s:iterator>
		</select></td>
		<td></td>
	</tr>
	<tr>
		<td>通知日期:</td>
		<td><input type="text" name="recruitmentInfo.noticeDate"
			id="noticeDate" class="Wdate"
			onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" /></td>
		<td></td>
	</tr>
	<tr>
		<td>预通知日期:</td>
		<td><input type="text" name="recruitmentInfo.readyNoticeDate"
			id="noticeDate" class="Wdate"
			onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" /></td>
		<td></td>
	</tr>
	<tr>
		<td>面试时间:</td>
		<td><input type="text" name="recruitmentInfo.interviewTime"
			id="noticeDate" class="Wdate"
			onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm'})" /></td>
		<td></td>
	</tr>
	<tr>
	<td>录用日期:</td>
		<td><input type="text" name="recruitmentInfo.employDate"
			id="noticeDate" class="Wdate"
			onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" /></td>
		<td></td>
	</tr>
	<tr>
		<td>状态:</td>
		<td><select name="recruitmentInfo.status" id="status">
			<option value="0">可面试</option>
			<option value="1">不可面试</option>
			<option value="2">初试</option>
			<option value="3">复试</option>
			<option value="4">试用</option>
			<option value="5">不合格</option>
			<option value="6">人才储备</option>
			<option value="7">转正</option>
			<option value="8">跟踪</option>
			<option value="9">其它</option>
			<option value="10">未入职</option>
		</select></td>
		<td></td>
	</tr>
	<tr>
		<td>招聘网站:</td>
		<td><input type="text" name="recruitmentInfo.webSite"
			id="webSite" class="add_input" /></td>
		<td></td>
	</tr>
	<tr>
		<td>简历来源:</td>
		<td><input type="text" name="recruitmentInfo.resumeSource"
			id="resumeSource" class="add_input" /></td>
		<td></td>
	</tr>
	<tr>
		<td>公司:</td>
		<td><select name="recruitmentInfo.complayId.id" id="complayId">
				<s:iterator value="complayDTOList">
					<option value="<s:property value="id"/>"><s:property value="complayName"/></option>
				</s:iterator>
			</select>
		</td>
		<td></td>
	</tr>
	<tr>
		<td>部门:</td>
		<td><select name="recruitmentInfo.departmentId.id"
			id="departmentId">
			<s:iterator value="departmentDTOList">
				<option value="<s:property value="id"/>"><s:property value="departmentName"/></option>
			</s:iterator>
		</select></td>
		<td></td>
	</tr>
	<tr>
		<td>未面试原因:</td>
		<td>
		<select name="recruitmentInfo.unInterview" id="unInterview">
			<option value="">--请选择--</option>
			<option value="已入职新公司">已入职新公司</option>
			<option value="到外地发展">到外地发展</option>
			<option value="对公司产品行业不感兴趣">对公司产品行业不感兴趣</option>
			<option value="无意向">无意向</option>
			<option value="其它原因">其它原因</option>
		</select>
		</td>
		<td></td>
	</tr>
	<tr>
		<td>评价:</td>
		<td><textarea name="recruitmentInfo.assess" id="assess" cols="60"
			rows="5" class="add_textarea"></textarea></td>
		<td></td>
	</tr>
	<tr>
		<td>备注:</td>
		<td><textarea name="recruitmentInfo.remark" id="remark" cols="60"
			rows="5" class="add_textarea"></textarea></td>
		<td></td>
	</tr>
	<tr>
		<td>上传简历:</td>
		<td><input type="file" name="resumefile"
			class="add_f" onchange="setresume();"/><input type="hidden" name="recruitmentInfo.resume"/>
		<span style="color:red;">注意：简历名称暂时请用英文保存！</span></td>
	</tr>
	<tr align="center" style="height: 100px">
		<td colspan="3"><input type="button" value="取  消" class="add_btn" onclick="javascript:window.history.go(-1)"/>&nbsp;&nbsp;&nbsp;&nbsp;
		&nbsp;&nbsp; <input type="submit" value="提  交" class="add_btn" /></td>
	</tr>
</table>
</form>
</div>
</div>
</body>
</html>